﻿using System;
using System.Collections.Generic;

namespace Laugh.Data.DatabaseCfg
{
    public interface IDatabaseBuilder
    {
        IDatabaseBuilder Named(string name);
        IDatabaseBuilder UsingDatabase(DatabaseType dbType);
        IDatabaseBuilder ConnectionString(string connectionString);
        IDatabaseBuilder AddMappings(IEnumerable<Type> types);
        IDatabaseBuilder Timeout(int timeout);
        DatabaseModel Build();
        void BuildSchema();
    }
}
